package fr.mma.livraison.model.dto;

import fr.mma.livraison.model.TypeAppli;

public class ApplicationDTO {
	private String name;
	private String version;
	private int priorite;
	private TypeAppli type = TypeAppli.ON_SAIT_PAS;
	
	public ApplicationDTO(){
	}
	
	public ApplicationDTO(String pName){
		this.name = pName;
	}

	public String getName() {
		return name;
	}

	public void setName(final String name) {
		this.name = name;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(final String version) {
		this.version = version;
	}

	public int getPriorite() {
		return priorite;
	}

	public void setPriorite(final int priorite) {
		this.priorite = priorite;
	}

	public TypeAppli getType() {
		return type;
	}

	public void setType(TypeAppli type) {
		this.type = type;
	}

}
